<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2022-08-25 21:33:51
 * @LastEditors: CHINAKAIYUAN
 * @Description: 
 */

namespace App\Models;

use App\Traits\SoftDeletesTrait;

class LoomRatio extends BaseModel
    {
    public $timestamps = true;
    public $table = "basedata_loom_ratio";
    protected $guarded = [];
    public function category()
        {
        return $this->belongsTo(MaterialCategory::class);
        }
    public function loom()
        {
        return $this->belongsTo(Loom::class);
        }

    }
